package cn.lzj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("cn.lzj.*.mapper")
//容器主动扫描这个包
@ServletComponentScan(value = {"cn.lzj.basic.listener"})
public class PethomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PethomeApp.class );
    }
}
